package com.zy.sso.server.repository;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import com.zy.sso.server.entites.User;


@Repository
public interface UserRepository extends MongoRepository<User, String> {
	
    User findOneByAccount(final String account);
    
    User findOneByGid(final String gid);

    
}